<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link href='/meirongtest/Public/Member/css/global.css' rel='stylesheet' type='text/css' />
<link href='/meirongtest/Public/Member/css/main.css' rel='stylesheet' type='text/css' />
<link href='/meirongtest/Public/Member/css/mall.css' rel='stylesheet' type='text/css' />

<script type='text/javascript' src='/meirongtest/Public/Member/js/jquery-1.7.2.min.js'></script>
<script type='text/javascript' src='/meirongtest/Public/Member/js/global.js'></script>
<link href='/meirongtest/Public/Member/css/wechat.css' rel='stylesheet' type='text/css' />
<!--[if lte IE 9]><script src="__PUBIC__/Member/js/jquery.watermark-1.3.js"></script><![endif]-->
<script type='text/javascript' src='/meirongtest/Public/Member/js/wechat.js'></script>
<script type="text/javascript" src="/meirongtest/Public/Member/js/operamasks-ui.min.js"></script>
<!-- <script type="text/javascript" src="/meirongtest/Public/Member/js/vip.js"></script> -->

<link href='/meirongtest/Public/Member/css/daterangepicker.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='/meirongtest/Public/Member/js/daterangepicker.js'></script>
<script type='text/javascript' src='/meirongtest/Public/Member/js/moment_min.js'></script>
<script type='text/javascript'>
var web_domain='/meirongtest';
var static_domain='/meirongtest';
var img_domain='/meirongtest';
var _PUBLIC_ = '/meirongtest/Public';
var _FILE_ = '<?php echo U('Index/ajaxFileUpload');?>';
var domain={
        www:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        static:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        img:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        file:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        kf:'<?php echo C('WEB_ABSOLUTE_URL');?>'
};
</script>

<script language="javascript">
     $(document).ready(pic_obj.pic_add);  
</script>

</head>

<body>
	
	
	<div id="iframe_page">
		<div class="iframe_content">
			<div class="r_nav">
				<ul>
					<!-- <li class="<?php if((ACTION_NAME) == "index"): ?>cur<?php endif; ?>"><a href="<?php echo U('Wechat/index');?>">首次关注设置</a></li>
					<li class="<?php if((ACTION_NAME) == "keyword"): ?>cur<?php endif; ?>"><a href="<?php echo U('Wechat/keyword');?>">关键词回复</a></li>
					 -->
					 <li class="<?php if((ACTION_NAME) == "companylist"): ?>cur<?php endif; ?>"><a href="<?php echo U('Company/companyList');?>">合作公司</a></li>
					<li class="<?php if((ACTION_NAME) == "apply"): ?>cur<?php endif; ?>"><a href="<?php echo U('Apply/apply');?>">申请列表</a></li>
				
				</ul>
			</div>

		
		

			
	<div id="scratch1" class="r_con_wrap">
		<form id="massager_form" class="r_con_form">
			<div class="rows">
	        <label>公司名称</label>
	        	<span class="input"><input type="text" name="name" value="<?php echo ($company["name"]); ?>" class="form_input" size="35" maxlength="100" notnull /> <font class="fc_red">*</font></span>
	        	<div class="clear"></div>
	    	</div> 
			
			<div class="rows">
				<label>公司图片</label>
				<span class="input">
					<span class="upload_file">
					
						<div>
							<div class="up_input">
							    <input name="ImgUpload" id="ImgUpload" type="file" width="120" height="30" style="display: none;">
							</div>
							<input type="hidden" name="ImgPath" value="<?php echo ($company["imgpath"]); ?>">
							<div class="tips">图片宽度建议：225*120</div><br/>
							<div class="clear"></div>
						</div>
						<div class="img" id="ImgDetail">
							<?php if($company['id'] > 0): ?><a href="<?php echo ($company["imgpath"]); ?>" target="_blank">
			                   		<img src="<?php echo ($company["imgpath"]); ?>">
			                   	</a><?php endif; ?>
						</div>
					</span>
				</span>
			<div class="clear"></div>
			</div>		
								
			<div class="rows">
				<label></label>
				<span class="input">
		        	<input type="button" class="btn_ok" name="submit_button" value="提交保存">
		        	<!-- <a href="<?php echo U('picture');?>" class="btn_cancel">返回</a> -->
		         </span>
				<div class="clear"></div>
			</div>
			
			<input type="hidden" name="id" value="<?php echo ($company["id"]); ?>">
		</form>
	</div>


			
			</div>
			</div>
</body>
</html>